[DO NOT MERGE]os/board/rtl8730e: Add recovery mechanism for IPC hang#7197
[DO NOT MERGE]os/board/rtl8730e: Add recovery mechanism for IPC hang#7197jwei5 wants to merge 1 commit intoSamsung:masterfrom
Conversation
jwei5
commented
Mar 19, 2026
- If CA32 IPC or KM4 IPC keeps waiting for ACK from the other party, it can be stuck in a while loop
- Add a recovery mechanism to check if either side is stuck waiting for ACK by writing into BKUP_REG2
- On CA32 and KM4,a HW timer will check the value of BKUP_REG2 and reset if it detects IPC is stuck
- Add reboot reason REBOOT_SYSTEM_CA32_IPC_ERROR to indicate reset due to CA32 IPC not replying ACK to KM4 IPC
- If CA32 IPC or KM4 IPC keeps waiting for ACK from the other party, it can be stuck in a while loop - Add a recovery mechanism to check if either side is stuck waiting for ACK by writing into BKUP_REG2 - On CA32 and KM4,a HW timer will check the value of BKUP_REG2 and reset if it detects IPC is stuck - Add reboot reason REBOOT_SYSTEM_CA32_IPC_ERROR to indicate reset due to CA32 IPC not replying ACK to KM4 IPC
|
Scenario to test KM4 stuck waiting for IPC ACK:
Scenario to test CA32 stuck waiting for IPC ACK:
|